package com.Lacia.emsserver.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 万里花
 * @date 2024/6/5 15:00
 */
@RestController
public class EmsController {

//    @Autowired
//    private MqttGateway mqttGateway;
//
//    @GetMapping("/send")
//    public String send(@RequestParam String message) {
//        mqttGateway.sendToMqtt(message);
//        return "Message sent: " + message;
//    }
}
